﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DWF.Studio.Plugin.Contract.Exceptions
{
    /// <summary>
    /// 插件文件无效异常
    /// </summary>
    public class InvalidPluginFileException : Exception
    {
        public InvalidPluginFileException(string pluginFileName)
            : base("The specified file '" + pluginFileName + " is not a valid plugin file.")
        {
            this.PluginFileName = pluginFileName;
        }

        /// <summary>
        /// 插件文件名
        /// </summary>
        public string PluginFileName
        {
            get; 
            private set;
        }
    }
}
